<?php

/**
 * Smarty plugin [qpimg]
 */

/**
 * Return source of empty-image
 *
 * Type:     function
 * Name:     qpimg_empty_image_src
 * @author   Andrei Bakulin <andrei.bakulin@gmail.com>
 * @version  1.0
 * @return string output from qpimg::get_empty_image_src()
 */

function smarty_function_qpimg_empty_image_src( $params, & $smarty )
{
    require_once( 'qpimg.php' );

    return qpimg::get_empty_image_src();
}

?>